<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);

/**
 * 订单详情模型数据库操作类
 */
class order_detail_model extends model
{
	

    public function __construct()
    {
        $this->db_config = pc_base::load_config('database');
        $this->db_setting = 'default';
        $this->table_name = 'order_detail';
        $this->admin_db = pc_base::load_model('admin_model');
        $this->admin_userid = param::get_cookie('userid'); // 获取当前登录的管理员ID
        $this->siteid = get_siteid();//获取当前站点
        parent::__construct();
    }
}